package io.rocketman.config.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author He Peng
 * @create 2018-05-25 0:45
 * @update 2018-05-25 0:45
 * @updatedesc : 更新说明
 * @see
 */

@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class ServiceMetaData {

    private String serviceInterface;
    private String group;
    private String version;

    public String getServiceKey() {
        return this.group + ":" + this.serviceInterface + ":" + this.version;
    }
}
